package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
//周报表
@TableName("weekbook")
public class Weekbook {
     @TableId(value = "wid",type = IdType.AUTO)
    private Integer wid;

    private String wtitle; //标题

    private String wcontent;//内容

    private Integer wstatus;//状态 0：发布 1：未发布 2:新建周报

    private Date wbegintime;//开始时间

    private Date wsubmittime;//提交时间

    private Date wendtime;//结束时间

    private Integer userId;//用户id

    private String userName;//用户姓名

    private Integer wsum;//字数

    private Integer exit1;

    private String exit2;

    public Integer getWid() {
        return wid;
    }

    public void setWid(Integer wid) {
        this.wid = wid;
    }

    public String getWtitle() {
        return wtitle;
    }

    public void setWtitle(String wtitle) {
        this.wtitle = wtitle;
    }

    public String getWcontent() {
        return wcontent;
    }

    public void setWcontent(String wcontent) {
        this.wcontent = wcontent;
    }

    public Integer getWstatus() {
        return wstatus;
    }

    public void setWstatus(Integer wstatus) {
        this.wstatus = wstatus;
    }

    public Date getWbegintime() {
        return wbegintime;
    }

    public void setWbegintime(Date wbegintime) {
        this.wbegintime = wbegintime;
    }

    public Date getWendtime() {
        return wendtime;
    }

    public void setWendtime(Date wendtime) {
        this.wendtime = wendtime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }

    public Weekbook() {
        super();
    }

    public Date getWsubmittime() {
        return wsubmittime;
    }

    public void setWsubmittime(Date wsubmittime) {
        this.wsubmittime = wsubmittime;
    }

    public Integer getWsum() {
        return wsum;
    }

    public void setWsum(Integer wsum) {
        this.wsum = wsum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Weekbook(Integer wid, String wtitle, String wcontent, Integer wstatus, Date wbegintime, Date wsubmittime, Date wendtime, Integer userId, String userName, Integer wsum, Integer exit1, String exit2) {
        this.wid = wid;
        this.wtitle = wtitle;
        this.wcontent = wcontent;
        this.wstatus = wstatus;
        this.wbegintime = wbegintime;
        this.wsubmittime = wsubmittime;
        this.wendtime = wendtime;
        this.userId = userId;
        this.userName = userName;
        this.wsum = wsum;
        this.exit1 = exit1;
        this.exit2 = exit2;
    }
}
